package service;

import com.alibaba.fastjson.JSONArray;
import dao.CurriCulumDao;
import dao.CurriCulumDaoImp;

import java.sql.SQLException;

public class s {

    /**
     * 查看用户当前月份的课
     *
     * @param userName
     * @return 返回当前有课的时间
     */
    public JSONArray month(String userName,String m,String y) throws SQLException {
        CurriCulumDao curriCulumDao = new CurriCulumDaoImp();
        return curriCulumDao.month(userName,m,y);
    }

}
